package com.rxkj.entity.rainwater;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("雨量实体类")
public class RainSt implements Serializable {


    @ApiModelProperty(value = "测站编码")
    private String stcd;

    @ApiModelProperty(value = "宏电rtu测站编码")
    private String termsn;

    @ApiModelProperty(value = "电池电压")
    private Double voltage;

    @ApiModelProperty(value = "通信信号强度")
    private Double signalInten;

    @ApiModelProperty(value = "时段降雨量")
    private Double drp;

    @ApiModelProperty(value = "小时降雨量")
    private String hourrain;

    @ApiModelProperty(value = "日降雨量")
    private Double dyp;

    @ApiModelProperty(value = "月降雨量")
    private Double monthrain;

    @ApiModelProperty(value = "年降雨量")
    private Double yearrain;

    @ApiModelProperty(value = "历史总降雨量")
    private Double totalrain;

    @ApiModelProperty(value = "时段长0.05-5分钟，1-1小时")
    private Double intv;

    @ApiModelProperty(value = "降雨历时")
    private Double pdr;

    @ApiModelProperty(value = "天气状况")
    private Integer wth;

    @ApiModelProperty(value = "累计降雨量")
    private Double pt;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间")
    private Date tm;

    @ApiModelProperty(value = "备注")
    private String mark;


}
